home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / E-P-O.ZIP / TEST-2.POV < prev    next >
Encoding:
Text File  |  1996-10-31  |  1.3 KB  |  48 lines

  1.  
  2. //------------------------------------------------------------------->
  3. //
  4. // test-2.pov
  5. //
  6. // "Easy POV Oven"
  7. //
  8. // Written By: Paul T. Dawson
  9. //             ptdawson@voicenet.com
  10. //             http://www.voicenet.com/~ptdawson
  11. //
  12. // All code and techniques are PUBLIC DOMAIN - have fun with it!
  13. //
  14. //------------------------------------------------------------------->
  15. //
  16. // This file is for testing the "Oven" object only.
  17. //
  18. //------------------------------------------------------------------->
  19. //
  20. // All of the usual initializing.
  21.  
  22.         #include "colors.inc"
  23.         #include "textures.inc"
  24.         #include "metals.inc"
  25.         #include "skies.inc"
  26.         #default { finish { Shiny } }
  27.         background { Gray50 }
  28.         #declare R1 = seed(0)
  29.  
  30.         #declare Camera_Loc = < 1.0*12, 2.7*12, -2.7*12 >
  31.  
  32.         camera { location Camera_Loc look_at < 0, 1*12, 0 > }
  33.  
  34.         light_source { Camera_Loc color rgb 1.5 }
  35.         light_source { <-1*12, 3*12, -4*12> color rgb 1.5 }
  36.  
  37. //------------------------------------------------------------------->
  38. //
  39. // Include the file and show the object.
  40.  
  41.         #include "oven.inc"
  42.         object { Oven }
  43.  
  44. //------------------------------------------------------------------->
  45. //
  46. // End of this file.
  47.  
  48.